package com.xyauto.qiehuan;

import android.app.Fragment;
import android.content.Context;

import com.xyauto.xfq.R;

import java.util.ArrayList;
import java.util.List;

public class Module {
	
	int icon;
	int mName_id;
	boolean isSelect=false;

	Module(){
		
	}

	
	Module(int mName_id, int icon) {
		this.icon = icon;
		this.mName_id = mName_id;
	}

	public int getIcon() {
		return icon;
	}
	public void setIcon(int icon) {
		this.icon = icon;
	}
	public int getmName_id() {
		return mName_id;
	}
	public void setmName_id(int mName_id) {
		this.mName_id = mName_id;
	}

	public boolean isSelect() {
		return isSelect;
	}

	public void setSelect(boolean select) {
		isSelect = select;
	}

	public static List getModuleList() {
		List<Module> modules = new ArrayList<Module>();

		modules.add(new Module(R.string.status_wifi,R.drawable.ic_top_wifi));
		modules.add(new Module(R.string.status_bluetooth,R.drawable.ic_bt));
		modules.add(new Module(R.string.status_hotspot,R.drawable.ic_hotspot));
		modules.add(new Module(R.string.status_screenshot,R.drawable.ic_screenshot));
		modules.add(new Module(R.string.status_carAmplifier,R.drawable.ic_caramplifier));

		modules.add(new Module(R.string.status_Offscreen,R.drawable.ic_scroff1));
		modules.add(new Module(R.string.status_car_Setting,R.drawable.ic_carsetting));
		modules.add(new Module(R.string.status_clean_up,R.drawable.ic_cleanup));
		modules.add(new Module(R.string.status_optlcal,R.drawable.ic_optical));
		modules.add(new Module(R.string.status_recent,R.drawable.yuan));


		return modules;
	}
}
